

import DataStructures.*;

public class Wrapper4 implements WordSet {
    
    private AATree dato;
    
    public Wrapper4(){
        
        dato = new AATree();
        
    }
    
    public Word get (Word word){
        
        return (Word) dato.find(word);
        
    }
    
    public void add(Word wordObject){
        

        dato.insert(wordObject);
        
    }
    
}